package net.learn.system.convert;

import net.learn.system.entity.SysJudgeEntity;
import net.learn.system.entity.SysVideoEntity;
import net.learn.system.vo.SysJudgeVO;
import net.learn.system.vo.SysVideoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysVideoConvert {
    SysVideoConvert INSTANCE = Mappers.getMapper(SysVideoConvert.class);

    SysVideoVO convert(SysVideoEntity entity);

    SysVideoEntity convert(SysVideoVO vo);

    List<SysVideoVO> convertList(List<SysVideoEntity> list);

}
